package model.response;

import lombok.Data;
import org.simpleframework.xml.Element;

@Data
public class PayResponse {

    private String returnCode;

    private String returnMsg;

    /** 以下字段在return_code为SUCCESS的时候有返回. */
    private String appid;

    private String mchId;

    private String deviceInfo;

    private String nonceStr;

    private String sign;

    private String resultCode;

    private String errCode;

    private String errCodeDes;

    @Element(name = "trade_type", required = false)
    private String tradeType;

    @Element(name = "prepay_id", required = false)
    private String prepayId;

    @Element(name = "code_url", required = false)
    private String codeUrl;

    @Element(name="mweb_url",required = false)
    private String mwebUrl;
}